RECOL

Syntax: RECOL [#ch,] black,blue,red,magenta,green,cyan,yellow,white  (MODE 8)
    or: RECOL [#ch,] black,1,red,3,green,5,white,white   (MODE 4)
Location: QL ROM

This command recolours all individual pixels in the specified window (default #1). At least eight parameters must be specified, representing each of the colours available in MODE 8.  Each parameter must then have a value in the range 0..8 representing how that colour pixel is to be recoloured.

Example:
RECOL 0,1,2,3,4,5,6,2

CROSS-REFERENCE:
INK, FILL
See also W_SWOP, SET_RED and SET_GREEN.
